package com.htthorizon.common.core.utils;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.NumberUtil;

/**
 * @author Brilliant
 */

public class IDUtils {

    public static String generateId() {
        return DateUtil.format(DateTime.now(), "yyyyMMddHHms")+ NumberUtil.roundStr(7,0);
    }
}
